![]() | ![]() | ![]() | ![]() |
When you are migrating your system to SAS 9.2, if you select the SAS Migration Utility Package Directory in the SAS® Deployment Wizard, this error might occur:
When you check the metadatasrv_gendefaults_date_time.log file, you might see the following error:
BUILD FAILED C:\SAS Software Depot\product_data\metadatasrv__92210__win__xx__sp0__1\configure\ metadatasrv_gendefaults.xml:49: org.apache.bsf.BSFException: The application script threw an exception: java.util.regex.PatternSyntaxException: Illegal repetition near index 2 ^(${metadatasrv\\).*
Other log files provide additional clues. Look for this warning in the migrate.log file:
Inspect the metadatasrv folder where you created your package. If you find only an Execute.xml file, do the following:
If you do, temporarily copy the backup file to another location or rename the omaconfig.xml file in the SASBackup directory to omaconfig_backup.xml.
Such errors can occur when backup and configuration directories exist in the same directory structure.
In this case, the error occurs because when the SAS Migration Utility initializes, it reads the omaconfig.xml file from the SASBackup directory first. It does this instead of reading the omaconfig.xml file from the SAS\configdir\Lev1\SASMain directory. For example:
A similar issue is documented in SAS Note 35059, "The SAS® Migration Utility uses an incorrect SAS® Metadata Server directory."
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | 9.3 TS1M0 | ||
Microsoft® Windows® for x64 | 9.2 TS2M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | 9.3 TS1M0 | ||
Microsoft Windows XP Professional | 9.2 TS2M0 | 9.3 TS1M0 | ||
Windows Vista | 9.2 TS2M0 | 9.3 TS1M0 |